Farabi/bot-2625/_is-not-a-function-trackjs-error #198
Merged
+26
−12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes changes to the
SaveModalForm
component and theUiStore
class. The modifications aim to enhance form handling and add new functionalities to the UI store.Improvements to
SaveModalForm
component:src/pages/dashboard/bot-list/save-modal/save-modal.tsx
: Fixed a bug in thebot_name
initial value assignment by invoking theconfig
function correctly.src/pages/dashboard/bot-list/save-modal/save-modal.tsx
: Updated theonFocus
andonBlur
event handlers to usecurrentTarget.value
and reset the focus state appropriately.Enhancements to
UiStore
class:src/stores/ui-store.ts
: Addedcurrent_focus
observable to track the current focus state.src/stores/ui-store.ts
: Updated themakeObservable
call to include new observables and actions for better state management.src/stores/ui-store.ts
: IntroducedtoggleOnScreenKeyboard
method to manage the on-screen keyboard visibility based on the current focus and device type.